The script shown here, from the streaming demo movie, checks to see if a linked graphic is available before displaying it.